package top.continew.admin.jobfair.model.req;

import java.io.Serial;
import java.time.LocalDateTime;

import jakarta.validation.constraints.*;

import lombok.Data;

import io.swagger.v3.oas.annotations.media.Schema;

import org.hibernate.validator.constraints.Length;

import top.continew.starter.extension.crud.model.req.BaseReq;

/**
 * 创建或修改双选会企业岗位信息
 *
 * @author xiahaike
 * @since 2024/09/12 13:51
 */
@Data
@Schema(description = "创建或修改双选会企业岗位信息")
public class JobPositionReq extends BaseReq {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "企业id")
    @NotNull(message = "不能为空")
    private String companyId;

    @Schema(description = "企业id")
    @NotNull(message = "不能为空")
    private Long jobFairId;

    /**
     * 
     */
    @Schema(description = "")
    @NotBlank(message = "不能为空")
    @Length(max = 255, message = "长度不能超过 {max} 个字符")
    private String title;

    /**
     * 
     */
    @Schema(description = "")
    @Length(max = 65535, message = "长度不能超过 {max} 个字符")
    private String description;

    /**
     * 
     */
    @Schema(description = "")
    @Length(max = 65535, message = "长度不能超过 {max} 个字符")
    private String requirements;

    /**
     * 
     */
    @Schema(description = "")
    @Length(max = 255, message = "长度不能超过 {max} 个字符")
    private String salary;

    /**
     * 
     */
    @Schema(description = "")
    @Length(max = 255, message = "长度不能超过 {max} 个字符")
    private String location;
}